import { post } from "@/request/http"
import { apiaikoteRFMatrix, pageaikoteRFMatrix } from "../../type"
import { RequestBody, ResponseBody } from "../../../type"

/**
 * @name 资源管理-设备资源属性管理-爱科特射频矩阵
 * ---------------
 */
const url = '/backend/resource-property-manage/matrix-radio-frequency-akt'

const Api = {
    get: (params: RequestBody<apiaikoteRFMatrix>) => post<pageaikoteRFMatrix[]>(url + "/get", params),
    update: (params: RequestBody<apiaikoteRFMatrix>) => post<ResponseBody<pageaikoteRFMatrix>>(url + "/update", params),
    add: (params: RequestBody<apiaikoteRFMatrix>) => post<ResponseBody<pageaikoteRFMatrix>>(url + "/add", params),
    delete: (params: RequestBody<apiaikoteRFMatrix>) => post<ResponseBody<pageaikoteRFMatrix>>(url + "/delete", params),
    copy: (params: RequestBody<apiaikoteRFMatrix>) => post<ResponseBody<pageaikoteRFMatrix>>(url + "/copy", params),
}

export default Api